#ifndef ATHREAD_H
#define ATHREAD_H

#include <QObject>
#include <QThread>
#include <QTimer>
#include <QEventLoop>

#include "bthread.h"

class AThread : public QThread
{
public:
    AThread(){}

protected:
    void run()Q_DECL_OVERRIDE;//线程任务

private slots:
    void getSomething(int ff);

private:
    QTimer *DelayLoopTimer;
    BThread bThread;
    QEventLoop *DelayLoop;
};

#endif // ATHREAD_H
